package com.aaa.service.impl;

import com.aaa.dao.TestInsertDao;
import com.aaa.service.TestInsertService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class TestInsertServiceImpl implements TestInsertService {
    @Autowired
    private TestInsertDao testInsertDao;


    @Override
    public boolean testInsertSas(List<Map> map) {
        Integer i=null;
        for(Map<String,Object> map1:map){
            i=testInsertDao.insertSasTest(map1);
        }
        if(i>0&&i!=null){
            return true;
        }
        return false;
    }
}
